<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    <div id="app">
        <h1>hello,{{name}}</h1>
    </div>
    
    <script src="./../node_modules/vue/dist/vue.js"></script>
    <script>
        /**
         * 首先创建目录，打开目录的终端
         * 使用npm install -y命令对目录进行初始化
         * 然后使用npm install vue安装vue组件
         * 最后编写vue的helloworld例子
         */
        let vm = new Vue({
            el: "#app",
            data: {
                name: "张三"
            }
        });
    </script>
</body>
</html>